package com.caishi.lkx.exam.vo;

import com.caishi.lkx.exam.ienum.type.QuestionType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Schema(title = "专项练习时返回条件")
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class SpecialConditionVo {

    @Schema(title = "有多少道题")
    private Integer maxCount;

    @Schema(title = "题型数据")
    private List<TY> types;

    @Setter
    @Getter
    public static class TY {

        @Schema(title = "题型id")
        private String typeId;

        @Schema(title = "题型")
        private QuestionType type;

        @Schema(title = "题型名称")
        private String name;

        @Schema(title = "当前题型有多少道题")
        private Integer count;

    }


}
